Завершение сессии...
<script>
    var reLocation = '<?php echo Arr::getValue($params, 'relocate', ''); ?>';
    location.href = reLocation? reLocation : location.href;
</script>